<template>
    <div id="test">
        <!-- <a @click="upLoadImg">上传图片</a> -->
        <img-up-load ref="imgLoad"/>
        <a @click="chooseImg">上传图片</a>
        <div @click="showEditWindow">显示弹窗</div>
        <edit-window ref="editWindow"></edit-window>
    </div>
</template>

<script>
import ImgUpLoad from "_components/project/common/ImgUpLoad"
import EditWindow from "_components/project/ShowWindow/EditWindow"

export default {
    name: 'Test',
    methods: {
        chooseImg() {
            this.$refs.imgLoad.choose()
        },
        showEditWindow() {
            this.$refs.editWindow.showWindow()
        },
    },
    components: {
        ImgUpLoad,
        EditWindow,
    },
    activated() {

    },
}
</script>

<style lang="scss" scoped>

</style>